const a = 10;
console.log(a);
const qqq = 10;
console.log(a);
const testVar = 20;
const hhh = 20;
const sss = 10;
const sssss = 10;
console.log(aaa);
const testVar565 = 30;
const sasas = 50;
const asaas = 20;
const opop = 20;

export type Product = {
  [key: string]: any;
  brand: string;
  category: string;
  color: string;
  description: string;
  dimensions: string;
  discount: number;
  image: string;
  model: string;
  name: string;
  price: number;
  quantity: number;
  rating: number;
  reviews: string[];
  shipping: number;
  stock: number;
  tags: string[];
  warranty: number;
  weight: number;
};

export const getProductCategories = (product: Product) => {
  if (
    [
      "Drone",
      "Headphones",
      "Keyboard",
      "Laptop",
      "Monitor",
      "Mouse",
      "Router",
      "Smartphone",
      "Smartwatch",
      "Tablet",
    ].includes(product.name)
  ) {
    return "Electronics";
  } else if (
    [
      "Adapter",
      "Battery",
      "Cable",
      "Case",
      "Charger",
      "Memory Card",
      "Screen Protector",
    ].includes(product.name)
  ) {
    return "Accessories";
  }
  return "Unknown";
};

export const oGoog = {
  age: 20,
  bb: 30,
  name: "3232323",
};
